package com.bit.book.service;

import com.bit.book.map.UserinfoMapper;
import com.bit.book.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    private UserinfoMapper userInfoMapper;
    public UserInfo queryUserByName(String name) {
        return userInfoMapper.querUserByName(name);
    }
}
